package com.mapper;

import com.entity.Plainmodel;
import com.entity.PlainmodelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlainmodelMapper {
    long countByExample(PlainmodelExample example);

    int deleteByExample(PlainmodelExample example);

    int deleteByPrimaryKey(Integer pmid);

    int insert(Plainmodel record);

    int insertSelective(Plainmodel record);

    List<Plainmodel> selectByExample(PlainmodelExample example);

    Plainmodel selectByPrimaryKey(Integer pmid);

    int updateByExampleSelective(@Param("record") Plainmodel record, @Param("example") PlainmodelExample example);

    int updateByExample(@Param("record") Plainmodel record, @Param("example") PlainmodelExample example);

    int updateByPrimaryKeySelective(Plainmodel record);

    int updateByPrimaryKey(Plainmodel record);
}